﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001C7 RID: 455
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChallengeList : IMessage<ChallengeList>, IMessage, IEquatable<ChallengeList>, IDeepCloneable<ChallengeList>, IBufferMessage
	{
		// Token: 0x17000605 RID: 1541
		// (get) Token: 0x060014A0 RID: 5280 RVA: 0x0003AF08 File Offset: 0x00039108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChallengeList> Parser
		{
			get
			{
				return ChallengeList._parser;
			}
		}

		// Token: 0x17000606 RID: 1542
		// (get) Token: 0x060014A1 RID: 5281 RVA: 0x0003AF0F File Offset: 0x0003910F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChallengeListReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000607 RID: 1543
		// (get) Token: 0x060014A2 RID: 5282 RVA: 0x0003AF21 File Offset: 0x00039121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChallengeList.Descriptor;
			}
		}

		// Token: 0x060014A3 RID: 5283 RVA: 0x0003AF28 File Offset: 0x00039128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeList()
		{
		}

		// Token: 0x060014A4 RID: 5284 RVA: 0x0003AF30 File Offset: 0x00039130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeList(ChallengeList other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this.star_ = other.star_;
			this.pMFJECKMAEI_ = other.pMFJECKMAEI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060014A5 RID: 5285 RVA: 0x0003AF6D File Offset: 0x0003916D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeList Clone()
		{
			return new ChallengeList(this);
		}

		// Token: 0x17000608 RID: 1544
		// (get) Token: 0x060014A6 RID: 5286 RVA: 0x0003AF75 File Offset: 0x00039175
		// (set) Token: 0x060014A7 RID: 5287 RVA: 0x0003AF7D File Offset: 0x0003917D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x17000609 RID: 1545
		// (get) Token: 0x060014A8 RID: 5288 RVA: 0x0003AF86 File Offset: 0x00039186
		// (set) Token: 0x060014A9 RID: 5289 RVA: 0x0003AF8E File Offset: 0x0003918E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Star
		{
			get
			{
				return this.star_;
			}
			set
			{
				this.star_ = value;
			}
		}

		// Token: 0x1700060A RID: 1546
		// (get) Token: 0x060014AA RID: 5290 RVA: 0x0003AF97 File Offset: 0x00039197
		// (set) Token: 0x060014AB RID: 5291 RVA: 0x0003AF9F File Offset: 0x0003919F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PMFJECKMAEI
		{
			get
			{
				return this.pMFJECKMAEI_;
			}
			set
			{
				this.pMFJECKMAEI_ = value;
			}
		}

		// Token: 0x060014AC RID: 5292 RVA: 0x0003AFA8 File Offset: 0x000391A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChallengeList);
		}

		// Token: 0x060014AD RID: 5293 RVA: 0x0003AFB8 File Offset: 0x000391B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChallengeList other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && this.Star == other.Star && this.PMFJECKMAEI == other.PMFJECKMAEI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060014AE RID: 5294 RVA: 0x0003B014 File Offset: 0x00039214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this.Star != 0U)
			{
				num ^= this.Star.GetHashCode();
			}
			if (this.PMFJECKMAEI)
			{
				num ^= this.PMFJECKMAEI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060014AF RID: 5295 RVA: 0x0003B085 File Offset: 0x00039285
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060014B0 RID: 5296 RVA: 0x0003B08D File Offset: 0x0003928D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060014B1 RID: 5297 RVA: 0x0003B098 File Offset: 0x00039298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this.Star != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Star);
			}
			if (this.PMFJECKMAEI)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.PMFJECKMAEI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060014B2 RID: 5298 RVA: 0x0003B110 File Offset: 0x00039310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this.Star != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Star);
			}
			if (this.PMFJECKMAEI)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060014B3 RID: 5299 RVA: 0x0003B174 File Offset: 0x00039374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChallengeList other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			if (other.Star != 0U)
			{
				this.Star = other.Star;
			}
			if (other.PMFJECKMAEI)
			{
				this.PMFJECKMAEI = other.PMFJECKMAEI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060014B4 RID: 5300 RVA: 0x0003B1D8 File Offset: 0x000393D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060014B5 RID: 5301 RVA: 0x0003B1E4 File Offset: 0x000393E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 72U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.PMFJECKMAEI = input.ReadBool();
						}
					}
					else
					{
						this.Star = input.ReadUInt32();
					}
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000885 RID: 2181
		private static readonly MessageParser<ChallengeList> _parser = new MessageParser<ChallengeList>(() => new ChallengeList());

		// Token: 0x04000886 RID: 2182
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000887 RID: 2183
		public const int ChallengeIdFieldNumber = 7;

		// Token: 0x04000888 RID: 2184
		private uint challengeId_;

		// Token: 0x04000889 RID: 2185
		public const int StarFieldNumber = 9;

		// Token: 0x0400088A RID: 2186
		private uint star_;

		// Token: 0x0400088B RID: 2187
		public const int PMFJECKMAEIFieldNumber = 11;

		// Token: 0x0400088C RID: 2188
		private bool pMFJECKMAEI_;
	}
}
